package cn.stylefeng.guns.modular.lx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lwh
 * @since 2023-12-04
 */
@Data
@TableName("lx_goods_lwh")
public class LxGoodsLwh implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 条形码
     */
    @TableField("txm")
    private String txm;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    /**
     * 规格
     */
    @TableField("gg")
    private String gg;

    /**
     * 单位
     */
    @TableField("dw")
    private String dw;

    /**
     * 产地
     */
    @TableField("cd")
    private String cd;

    /**
     * 存货量
     */
    @TableField("chl")
    private String chl;

    /**
     * 所属类别
     */
    @TableField("type")
    private String type;

    /**
     * 零售价
     */
    @TableField("lsj")
    private String lsj;

    /**
     * 批发价
     */
    @TableField("pfj")
    private String pfj;

    /**
     * 备注
     */
    @TableField("bz")
    private String bz;

    @Override
    public String toString() {
        return "LxGoodsLwh{" +
        "id=" + id +
        ", txm=" + txm +
        ", name=" + name +
        ", gg=" + gg +
        ", dw=" + dw +
        ", cd=" + cd +
        ", chl=" + chl +
        ", type=" + type +
        ", lsj=" + lsj +
        ", pfj=" + pfj +
        ", bz=" + bz +
        "}";
    }
}
